﻿@model InsightAuto.Web.ViewModels.NewsPanelVM

                <div class="panel">
                    @if (Model.ShowTitleBar)
                    {
                    <div class="panelTitleBar">
                        <h3>
                            <a href="@Model.MoreUrl">@Model.Title</a>
                            <a href="@Model.MoreUrl" class="panelTitleMore">更多</a>
                        </h3>
                    </div>
                    }
                    <div class="panelContent">
                        <table class="panelContentTable">
                            @foreach (var art in Model.Articles)
                            {
                            <tr class="singleLineNews">
                                <td>@Html.ActionLink(art.Title, "Show", ControllerNames.News, new { id = art.ID }, new { target = "_blank" })</td>
                                <td>@art.SubmitTime.ToString("MM-dd")</td>
                            </tr>
                            }
                        </table>
                    </div>
                </div>
